package com.miao.common.entity;

import java.util.Date;

/**
 * @author MiaoWenqing
 * @description: 消息
 * @date 2021/2/4 15:05
 */
public class Message {


    //发送者id
    private String sendId;
    //发送者头像
    private String sendAvatar;

    //接收者id
    private String receiveId;
    //接收者像
    private String receiveAvatar;
    //商品id
    private String proId;
    //客户位置
    private String position;

    //店铺ID
    private String storeId;

    //消息内容
    private String msg;

    //发送时间
    private Date sendTime;

    //发送者 1 客服 2客户
    private String type;

    public Message() {
    }

    public String getSendId() {
        return sendId;
    }

    public void setSendId(String sendId) {
        this.sendId = sendId;
    }

    public String getSendAvatar() {
        return sendAvatar;
    }

    public void setSendAvatar(String sendAvatar) {
        this.sendAvatar = sendAvatar;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getReceiveAvatar() {
        return receiveAvatar;
    }

    public void setReceiveAvatar(String receiveAvatar) {
        this.receiveAvatar = receiveAvatar;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Message{" +
                "sendId='" + sendId + '\'' +
                ", sendAvatar='" + sendAvatar + '\'' +
                ", receiveId='" + receiveId + '\'' +
                ", receiveAvatar='" + receiveAvatar + '\'' +
                ", proId='" + proId + '\'' +
                ", position='" + position + '\'' +
                ", storeId='" + storeId + '\'' +
                ", msg='" + msg + '\'' +
                ", sendTime=" + sendTime +
                ", type='" + type + '\'' +
                '}';
    }
}
